﻿<%@ taglib prefix="s" uri="/struts-tags" %>
<s:include value="/layout/header.jsp" />
    <!-- For alternative headers END PASTE here -->


      <!-- B.1 MAIN CONTENT -->
      <div class="main-content">


<h1 class="pagetitle">用户<s:property value="user.name"/>资料页</h1>

        <div class="column1-unit">
		<ul>

        <li>姓名:<s:property value="user.name"/></li>
		<li>学号:<s:property value="user.id"/></li>
		<li>联系电话:<s:property value="user.phone_num"/></li>
		<li>联系地址:<s:property value="user.address"/></li>
		<li>邮编:<s:property value="user.number"/></li>

        </ul>
        <br>
        <h1 class="block">管理的社团</h1>
        <table>
            <tr><th class="top" scope="col" width="70" align="center">社团名称</th>
			<th class="top" scope="col" width="80" align="center">成立时间</th>
			<th class="top" scope="col" width="100">社团所属</th>
			<th class="top" scope="col" width="100">社团描述</th>
			</tr>
            <s:if test="leadedOrgs">
                    <s:iterator value="leadedOrgs">
                        <tr><th scope="row"><a href="userInfo.action?getorg.action?id=<s:property value="id"/>"><s:property value="name"/></a></th>
                        <td><s:property value="date"/></td><td><s:property value="department"/></td><td><s:property value="description"/></td></tr>
                    </s:iterator>
            </s:if>
          </table>
          
		<h1 class="block">参加的社团</h1>
        <table>
            <tr><th class="top" scope="col" width="70" align="center">社团名称</th>
			<th class="top" scope="col" width="80" align="center">成立时间</th>
			<th class="top" scope="col" width="100">社团所属</th>
			<th class="top" scope="col" width="100">社团描述</th>
			</tr>
            <s:if test="joinedOrgs">
                    <s:iterator value="joinedOrgs">
                        <tr><th scope="row"><a href="userInfo.action?getorg.action?id=<s:property value="id"/>"><s:property value="name"/></a></th>
                        <td><s:property value="date"/></td><td><s:property value="department"/></td><td><s:property value="description"/></td></tr>
                    </s:iterator>
            </s:if>
          </table>
        
            
        </div>

        <hr class="clear-contentunit" />
      </div>
    <!-- C. FOOTER AREA -->

   

   <s:include value="/layout/footer.jsp"/>
